﻿using Donal.Xms.Web.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Donal.Xms.Web.temp.main
{
    public partial class user : Web.UI.MasterBasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region 绑定SEO

        public void bindSEO(string _seo_title = "", string _seo_keywords = "", string _seo_description = "", string _page_title = "")
        {
            this.Page.Title = _seo_title != "" ? _seo_title : _page_title != "" ? _page_title : basePage.site.seo_title != "" ? basePage.site.seo_title : basePage.site.name != "" ? basePage.site.name : basePage.site.title;
            this.keywords.Content = _seo_keywords != "" ? _seo_keywords : basePage.site.seo_keyword;
            this.description.Content = _seo_description != "" ? _seo_description : basePage.site.seo_description;
        }


        #endregion
    }
}